<template>
	<view class="pd16_15">
		<block v-for="(value,key) in datasa" :key="key">
			<view @click="detail(value.id,0)" style="" class="flex alcenter showStyle">
				<image mode="aspectFill" class="tuan-product-l" :src="value.img"></image>
				<view class="tuan-product-r pl15">
					<view class="title">{{value.name}}</view>
					<view class="time">
						{{ value.createtime }}
					</view>
				</view>
			</view>
		</block>
	</view>
</template>

<script>
	export default {
		props: ['datasa'],
		data() {
			return {
				isLogin: false,
				showBirthday: false,
				showLogin: false,
				showQrcode: false,
				showCouponShareGet: false,
			}
		},

		created() {

			// uni.setNavigationBarTitle({
			//     title: '夜趣小视频'
			// });

			// setTimeout(()=>{
			// 	this.showCouponShareGet = true;	
			// },1000);
		},
		methods: {
			//'/pages/client/tuan/detail?id='+value.id
			detail(vid, mid) {
				uni.navigateTo({
					url: '/pages/client/tuan/detail?vid=' + vid + '&mid=' + mid
				})
			},
			showLoginAct() {
				this.showLogin = true;
			},
			showLoginCouponShareGet() {
				this.showLogin = true;
			},
			loginYes() {

			}
		}
	}
</script>

<style>
	.showStyle::before {
		content: '';
		position: 'absolute';
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background-color: rgba(31, 33, 41, 0.4);
		z-index: -1;
		backdrop-filter: blur(80px);
	}

	.showStyle {
		position: relative;
		background: #fff;
		padding: 10rpx;
		border-radius: 20rpx;
		margin-bottom: 20rpx;
	}

	.home-header {
		height: 304rpx;
		width: 100%;
		position: relative;
		background: #363B4D;
		border-radius: 0rpx 0rpx 48rpx 48rpx;
	}

	.home-main {
		width: 100%;
		position: relative;
		margin-top: -156rpx;
		padding: 0 30rpx;
	}

	.home-mendian {
		width: 100%;
		height: 84rpx;
		background: rgba(255, 255, 255, 0.1);
		border-radius: 42rpx;
	}

	.tuan-product-l {
		width: 252rpx;
		height: 172rpx;
		border-radius: 16rpx;
		background: #F2F2F2;
	}

	.tuan-product-r {
		width: calc(100% - 262rpx);
		height: 172rpx;
	}
	
	.tuan-product-r .title {
		font-size: 28rpx;
		font-family: PingFang SC, PingFang SC;
		font-weight: 600;
		color: #47464C;
		height: 150rpx;
	}
	
	.tuan-product-r .time {
		font-size: 20rpx;
		font-family: PingFang SC, PingFang SC;
		font-weight: 400;
		color: #AF97A1;
	}

	.btn-vip-adviser {
		width: 200rpx;
		height: 60rpx;
		border-radius: 20rpx;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 28rpx;
		/* font-weight: 600; */
		background: #F75581;
		color: #FFFFFF;
	}

	.integral-mall-goods {
		width: 100%;
		height: 280rpx;
		background: #F2F2F2;
		border-radius: 16upx;
	}
</style>